Fix portal path handling
authorMatthias Clasen <mclasen@redhat.com>
Wed, 5 Sep 2018 23:54:32 +0000 (19:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 5 Sep 2018 23:54:32 +0000 (19:54 -0400)
This was broken when I recently introduced this helper
function.

gtk/gtkprivate.c

index 58618508d33daf67f2ff2c9330f3d7ee874f8d2f..0d3dfd78a08c5df39b94c3a6122b112a57df1bde 100644 (file)
@@ -308,7 +308,7 @@ get_portal_path (GDBusConnection  *connection,
     if (sender[i] == '.')
       sender[i] = '_';
 
-  path = g_strconcat (PORTAL_OBJECT_PATH, "/", kind, "/", sender, "/", token, NULL);
+  path = g_strconcat (PORTAL_OBJECT_PATH, "/", kind, "/", sender, "/", *token, NULL);
 
   g_free (sender);